﻿@using Resources
@using KPIS.GERP.Models.ViewModel
@model ExportGrid

<!-- Partial Buttons Menu Each Row-->
<div class="hidden-phone visible-desktop btn-group">
	<!-- Buttons On PC /-->
	<a class="btn btn-mini btn-danger" data-rel="tooltip" href="#" 
	   onclick="bootbox.confirm('@PopupMessageLocalization.ConfirmDelete', function(result) { if (result) window.location.href='@Model.DeleteUrl'; });" 
	   role="button"><li class="icon-trash bigger-120"></li>
	</a>
</div>
<div class="hidden-desktop visible-phone">
	<!-- Buttons/Tooltip On Tablet (or small monitor) /-->
	<div class="inline position-relative">
		<button class="btn btn-minier btn-yellow dropdown-toggle" data-toggle="dropdown">
			<i class="icon-caret-down icon-only bigger-120"></i>
		</button>
		<ul class="dropdown-menu dropdown-icon-only dropdown-yellow pull-right dropdown-caret dropdown-close">
			<li>
				<a href="@Model.DeleteUrl" class="tooltip-error" data-rel="tooltip" title="@IndexLocalization.Delete" data-placement="left">
					<span class="red">
						<i class="icon-trash"></i>
					</span>
				</a>
			</li>
		</ul>
	</div>
</div>
<!--/Partial Export Buttons Each Row-->